Spread Windows Forms 7.0 Product Documentation
SetArray(Int32,Int32,Object[,],Boolean,ReferenceStyle) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetDataModel Class > SetArray Method : SetArray(Int32,Int32,Object[,],Boolean,ReferenceStyle) Method


row
Row index of the start of the range of cells
column
Column index of the start of the range of cells
value
Two-dimensional object array[row,column] containing the values
formula
IF true, set formulas. Otherwise, set values.
referenceStyle
The reference style of formulas

Glossary Item Box

Sets an object array into a specified range of cells.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub SetArray( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal value(,) As Object, _
   ByVal formula As Boolean, _
   ByVal referenceStyle As ReferenceStyle _
) 
Visual Basic (Usage)Copy Code
Dim instance As DefaultSheetDataModel
Dim row As Integer
Dim column As Integer
Dim value() As Object
Dim formula As Boolean
Dim referenceStyle As ReferenceStyle
 
instance.SetArray(row, column, value, formula, referenceStyle)
C# 
public void SetArray( 
   int row,
   int column,
   object[,] value,
   bool formula,
   ReferenceStyle referenceStyle
)

Parameters

row
Row index of the start of the range of cells
column
Column index of the start of the range of cells
value
Two-dimensional object array[row,column] containing the values
formula
IF true, set formulas. Otherwise, set values.
referenceStyle
The reference style of formulas

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.